package com.kun.valiant.course.service;

import com.kun.valiant.common.core.domain.AjaxResult;
import com.kun.valiant.course.domain.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.valiant.course.domain.vo.CourseVO;

import java.util.List;

/**
 * <p>
 * 课程管理 服务类
 * </p>
 *
 * @author fangkun
 * @since 2023-06-06
 */
public interface ICourseService extends IService<Course> {

    List<Course> getCourseList(CourseVO courseVO);

    AjaxResult addCourse(CourseVO courseVO);

    AjaxResult editCourse(CourseVO courseVO);

    CourseVO getCourseById(Integer courseId);

    boolean removeCourseIds(Integer[] courseIds);

    AjaxResult getCourseByType(Integer type);
}
